package cn.gson.crmdemo.model.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.alibaba.fastjson.JSONArray;

import cn.gson.crmdemo.model.mapper.XiaoShouBaoBiaoMapper;

@Service
@Transactional(rollbackFor=Exception.class)

public class XiaoShouBaoBiaoService {
	
	@Autowired
	XiaoShouBaoBiaoMapper xs;
	

	public JSONArray selectAlltt() {
		return xs.selectWarehouse();
		
	}
	
}
